package com.gxa.meiye.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author chen
 * @date 2022/7/19 18:52
 */
@Data
@TableName("t_idcard")
public class  IdCard implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    @TableField(value = "idcard_info")
    private String idcard_info;

    @TableField(value = "therapist_id")
    private Integer therapist_id;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard_info() {
        return idcard_info;
    }

    public void setIdcard_info(String idcard_info) {
        this.idcard_info = idcard_info;
    }

    public Integer getTherapist_id() {
        return therapist_id;
    }

    public void setTherapist_id(Integer therapist_id) {
        this.therapist_id = therapist_id;
    }

    @Override
    public String toString() {
        return "IdCard{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idcard_info='" + idcard_info + '\'' +
                ", therapist_id=" + therapist_id +
                '}';
    }
}
